/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-9-28 上午10:56 Created by dwzhang
 */
package com.jade.bss.weixin.api.card.protocol;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 代金券信息。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-9-28 上午10:56
 */
public class CashInfo
        extends CardInfo
{
    //代金券专用，表示起用金额（单位为分）,如果无起用门槛则填0。
    @JsonProperty ("least_cost")
    private long leastCost;
    //代金券专用，表示减免金额。（单位为分）
    @JsonProperty ("reduce_cost")
    private long reduceCost;

    public long getLeastCost()
    {
        return leastCost;
    }

    public void setLeastCost(long leastCost)
    {
        this.leastCost = leastCost;
    }

    public long getReduceCost()
    {
        return reduceCost;
    }

    public void setReduceCost(long reduceCost)
    {
        this.reduceCost = reduceCost;
    }
}
